package com.chefu.carowner.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author goodgoodstudy
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_user_receive_address")
@ApiModel(value="UserReceiveAddress对象", description="")
public class UserReceiveAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "a_id", type = IdType.ID_WORKER)
    private Long aId;

    @ApiModelProperty(value = "收件人")
    private String receiveName;

    @ApiModelProperty(value = "联系人电话")
    private String phone;

    @ApiModelProperty(value = "详细地址")
    private String uAddress;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "区域id")
    private Long areaId;

    @ApiModelProperty(value = "是否为默认（0：不是 1：是）")
    private Integer tDefault;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
